@import 'src/res/theme/xxhz';



.address-root {
  min-height: 100vh;

  .head-bg {
    position: sticky;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
  }

  .bottom-bar {
    width: 100%;
    height: 120px;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);

    .import-add {
      width: 50%;
      height: 100%;
      line-height: 120px;
      color: #333;
      background: #fff;
      text-align: center;
      font-size: 26px;

      .icon {
        vertical-align: middle;
        margin-right: 20px;
      }
    }

    .address-add {
      background: $mainColor;
      height: 100%;
      line-height: 120px;
      width: 50%;
      font-size: 26px;
      color: #fff;
      text-align: center;

      &.h5, &.tt {
        width: 100%
      }
    }
  }

  .add-list {
    width: 720px;
    margin: 20px auto 0;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 150px;

    .list-item {
      margin: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;

      .checkbox {
        width: 75px;
      }

      .jumpbox {
        padding: 20px 0;
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .add-box {
        .add-address {
          font-size: 30px;
          font-weight: bold;
          margin: 6px 0;
        }

        .default {
          padding: 2px 6px 2px 8px;
          border-radius: 4px;
          background-color: $priceColor;
          color: #fff;
          font-size: 22px;
          margin-right: 12px;
        }

        .add-top {
          color: #666;
          font-size: 28px;

          text, .taro-text {
            padding-right: 45px;
          }
        }

        .add-bottom {
          font-size: 28px;
          display: flex;
          align-items: center;
          color: #666;
        }
      }

      .add-edit {
        padding-right: 15px;
      }
    }

    .list-item::after {
      position: absolute;
      content: '';
      height: 1Px;
      background-color: #f3f3f3;
      width: calc(100% + 64px);
      left: -32px !important;
      bottom: 0 !important;
    }

    .list-item:first-child {
      padding-top: 10px;
    }

    .list-item:last-child {
      padding-bottom: 10px;
    }
  }

  .listNull {
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: hidden;

    image, .taro-img {
      width: 295px;
      height: 295px;
      margin: 86px auto 35px;
    }

    .text {
      font-size: 24px;
      color: #666
    }
  }
  .weui-cells_checkbox .weui-check:checked + .weui-icon-checked:before{
    color: $mainColor;
  }
}
